//
//  QDCarePatientModel.m
//  simulateQuickDoctor
//
//  Created by 梁家伟 on 17/3/26.
//  Copyright © 2017年 PipiXia. All rights reserved.
//

#import "QDCarePatientModel.h"


@implementation QDCarePatientModel

- (void)setValue:(id)value forKey:(NSString *)key{
    
    if([key isEqualToString:@"duties"]){
        
        self.duties = [NSArray yy_modelArrayWithClass:[QDDutyModel class] json:value];
        
    }else{
       [super setValue:value forKey:key];
    }
}

- (NSString *)description{
    
    return [self yy_modelDescription];
}

@end
